﻿using Swimj.CommonLib.Attributes;

namespace Admin.CommonLib.Models.Role
{
    public class RoleInfoResponseDto
    {
        public Guid Key { get; set; }

        [TableColumn(DisplayText = "角色编码")] 
        [ExcelColumn(DisplayText = "角色编码")] 
        public string? RoleCode { get; set; }

        [TableColumn(DisplayText = "角色名称")]
        [ExcelColumn(DisplayText = "角色名称")]
        public string? RoleName { get; set; }

        [TableColumn(DisplayText = "描述")]
        [ExcelColumn(DisplayText = "描述")]
        public string? Description { get; set; }

        [TableColumn(DisplayText = "创建时间")] 
        [ExcelColumn(DisplayText = "创建时间")] 
        public DateTime? CreatedOn { get; set; }
    }
}